package proyecto2.src.entidades;

import java.awt.Point;
import java.awt.Rectangle;

import javax.swing.ImageIcon;

import proyecto2.src.aplicacion.Nivel;

public class Basica extends Enemiga{

	public Basica(Nivel nivel,ImageIcon ref){
		super(nivel,10, ref,10,3);
	}

	public void disparar(Point location){
		laserE.disparar(location);
	}

	public void mover() {
		Point position = this.getLocation();
		position.translate(0,+velocidad);
		this.setLocation(position);
	}

	public Rectangle getBounds() {
		return new Rectangle(this.getX()+16, this.getY()+13, 31, 28);  
	}

}
